package com.cheetah.util;

import com.cheetah.dto.GroupDTO;
import com.cheetah.dto.MessageDTO;
import com.cheetah.entity.Group;
import com.cheetah.entity.Message;
import com.cheetah.vo.GroupVO;
import com.cheetah.vo.MessageVO;
import org.mapstruct.Mapper;

/**
 * @Author Administrator
 * @Date 2019/9/25
 * @Version V1.0
 * @Description:
 **/
@Mapper(componentModel="spring")
public interface MapStructMapper {

    public Group groupVo2Group(GroupVO groupVO);

    public GroupDTO group2GroupDTO(Group group);

    public Message messageVO2Message(MessageVO messageVO);

    public MessageDTO message2MessageDTO(Message message);
}
